import java.awt.GridLayout;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;

public class YahtzeePanel extends JPanel {
	
	private static final long serialVersionUID = 1L;
	
	JPanel gamePanel;
	JTable scoreTable;
	
	YahtzeePanel(JPanel gamePanel, JTable scoreTable) {
		super(new GridLayout(0,2));
		this.gamePanel = gamePanel;
		this.scoreTable = scoreTable;
		add(gamePanel);
		add(new JScrollPane(scoreTable));
	}

}
